using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

using miciv.Rendering;

namespace miciv
{
    public partial class DataSource
    {
        public static void UpdateNewPartyList(DataSourceBase<string> _dataSource)
        {
            string[] lstFiles = Directory.GetFiles("Data/Levels/New");
            foreach (string strLocation in lstFiles)
            {
                _dataSource.Add(Path.GetFileNameWithoutExtension(strLocation));
            }
        }
    }
}
